package cn.jgy.dynamic.thread.pool.sdk.domain;


import cn.jgy.dynamic.thread.pool.sdk.domain.model.entity.ThreadPoolConfigEntity;

import java.util.List;

/**
* @Author: 蒋光耀
*@Version: 1.0
*@description: 动态线程池服务
* @Date:  2024-05-18 1:04
*/
public interface IDynamicThreadPoolService {

    //查询所有
    List<ThreadPoolConfigEntity> threadPoolList();

    //根据名字查询
    ThreadPoolConfigEntity threadPoolByName(String threadPoolName);

    //更新线程池配置
    void threadPoolConfigUpdate(ThreadPoolConfigEntity threadPoolConfigEntity);
}
